<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""DTD/xhtml1-strict.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@taglib uri="/WEB-INF/el.tld" prefix="el"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Account67</title>
		<c:import url="/includes/css_inc.jsp" />
		<c:import url="/includes/js_inc.jsp" />
		<script>
			if (top.frames.length != 0) {
				top.location = self.document.location;
			}
			$(function() {
				$("#login").button({
		            icons: {
		                primary: "ui-icon-key"
		            }
		        });

				$( "#dialog-login" ).dialog({
					autoOpen: true,
					height: 350,
					width: 770,
					modal: true,
					draggable: false,
					resizable: false,
					closeOnEscape: false,
					open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); }
				});
			});
		</script>
	</head>
	<body onload="document.getElementById('userId').focus();">
		<div id="dialog-login" title="Login" style="overflow: hidden;">
			<form action="${pageContext.request.contextPath}/acc67" method="post">
				<input type="hidden" name="app" value="ACC670000" />
				<input type="hidden" name="job" value="login" />
				<c:set value="${el:getIssue()}" var="aib"/>
				<table width="100%" border="0">
					<tr>
						<td>
							<table width="100%" cellpadding="2" cellspacing="2" border="0">
								<tr>
									<td>
										<textarea cols="60" rows="12" readonly="readonly" style="resize: none;">${aib.issueContent}</textarea>
									</td>
								</tr>
								<tr>
									<td>
										<a href="${aib.issueLinkUrl1}" style="color: blue;" target="_blank">${aib.issueLinkName1}</a>
									</td>
								</tr>
								<tr>
									<td>
										<a href="${aib.issueLinkUrl2}" style="color: blue;" target="_blank">${aib.issueLinkName2}</a>
									</td>
								</tr>
								<tr>
									<td>
										<a href="${aib.issueLinkUrl3}" style="color: blue;" target="_blank">${aib.issueLinkName3}</a>
									</td>
								</tr>
							</table>
						</td>
						<td width="40%">
							<table width="100%" cellpadding="2" cellspacing="2" border="0">
								<tr>
									<td width="15%">&nbsp;</td>
									<td width="20%" align="right">Username</td>
									<td><input type="text" name="userId" id="userId" size="15" maxlength="15"/></td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td align="right">Password</td>
									<td><input type="password"  name="passwd" size="15" maxlength="15"/></td>
								</tr>
								<tr>
									<td colspan="3" align="center"><div class="red">&nbsp;${loginMsg}</div></td>
								</tr>
								<tr>
									<td colspan="3" align="center"><button id="login" type="submit" class="acc67-button">Login</button></td>
								</tr>
								<tr>
									<td colspan="3">&nbsp;&nbsp;</td>
								</tr>
								<tr>
									<td colspan="3" align="right"><a href="http://nhsoprovince.nhso.go.th/FrontEnd/Webboard.aspx?menu=540000001&pid=540000002&post=540000022" style="color: blue;" target="_blank">Download คู่มือและมาตรฐานการบันทึก</a></td>
								</tr>
								<tr>
									<td colspan="3" align="right"><a href="https://www.google.com/intl/eng/chrome/browser/index.html?hl=eng&platform=win#eula" style="color: blue;" target="_blank">Download Chrome Browser</a></td>
								</tr>
								<tr>
									<td colspan="3" align="right" title="${deployTime}">version ${version} - ${deployDate}</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</body>
</html>